package com.atguigu.mall.product.dao;

import com.atguigu.mall.product.entity.AttrGroupEntity;
import com.atguigu.mall.product.vo.AttrGroupRelTableVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 * 
 * @author Mr·L
 * @email 907298149@qq.com
 * @date 2021-12-02 20:39:47
 */
@Mapper
public interface AttrGroupDao extends BaseMapper<AttrGroupEntity> {

    List<AttrGroupRelTableVO> attrGroupRelationAttrList(@Param("page")  Page<AttrGroupRelTableVO> page,
                                                        @Param("search") Map<String, Object> params);
}
